cosmetic fix
authorFelix Fietkau <[email protected]>
Fri, 7 Oct 2005 10:58:30 +0000 (10:58 +0000)
committerFelix Fietkau <[email protected]>
Fri, 7 Oct 2005 10:58:30 +0000 (10:58 +0000)
SVN-Revision: 2063

openwrt/package/webif/files/usr/lib/webif/webif.sh

index 3eb2735d6a11ba0bea77987cfd2fbbada52763f0..ed98caa34ee3a35b36a7d6631452f64871e672a7 100644 (file)
@@ -156,6 +156,7 @@ EOF
 footer() {
        _changes=${CHANGES#0}
        _changes=${_changes:+(${_changes})}
+       _endform=${_savebutton:+</form>}
        cat <<EOF
                        </div>
                        <hr width="40%" />
@@ -175,7 +176,7 @@ footer() {
                                </div>
                        </div>
                </div>
-               </form>
+               $_endform
     </div></body>
 </html>
 EOF